/*
 * Description: 系统菜单调用后台接口JS
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Dongxu.Ni
 * Date: 2020/03/17 07:27
 */

import { httpPost } from '../../utils/axios-utils'

export function menuList(obj, authConfig) {
  return httpPost('/smart-cost/sys/menu/list', obj, authConfig)
}

export function menuListFullBySession(obj, authConfig) {
  return httpPost('/smart-cost/sys/menu/listFullBySession', obj, authConfig)
}

export function menuListFullByPost(obj, authConfig) {
  return httpPost('/smart-cost/sys/menu/listFullByPost', obj, authConfig)
}

export function menuSave(arr, authConfig) {
  return httpPost('/smart-cost/sys/menu/save', arr, authConfig)
}
